<template>
    <div>
        <h1>query msg :{{urlMsg}}</h1>
        <h2>param msg :{{postMsg}}</h2>
    </div>
</template>
<script>
    export default {
        data() {
            return {
                urlMsg: this.$route.query.urlMsg,
                postMsg: this.$route.params.postMsg,
            }
        },
        created() {
            console.log('url query:',this.$route.query)
            console.log('post params:',this.$route.params)
        }
    }
</script>
